/**
 * @program: learn_01
 * @description:
 * @author: Windlinxy
 * @create: 2022-04-10 10:29
 **/
public class Student {
    private Long stuId;
    private String name;
    private String sex;
    private Integer age;

    public Student(Long stuId, String name, String sex, Integer age) {
        this.stuId = stuId;
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public Student() {
    }

    public Long getStuId() {
        return stuId;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                '}';
    }
}
